package net.maku.events.convert;

import net.maku.events.entity.ActivityContestQuestionEntity;
import net.maku.events.vo.ActivityContestQuestionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 竞赛答题
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface ActivityContestQuestionConvert {
    ActivityContestQuestionConvert INSTANCE = Mappers.getMapper(ActivityContestQuestionConvert.class);

    ActivityContestQuestionEntity convert(ActivityContestQuestionVO vo);

    ActivityContestQuestionVO convert(ActivityContestQuestionEntity entity);

    List<ActivityContestQuestionVO> convertList(List<ActivityContestQuestionEntity> list);

}